﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Fcdbas.Infrastructure.Querying
{
    /// <summary>
    /// 排序
    /// </summary>
    [DataContract]
    public class OrderByClause
    {
        /// <summary>
        /// 要排序的属性
        /// </summary>
        [DataMember]
        public string PropertyName { get; set; }
        /// <summary>
        /// 升序还是降序
        /// </summary>
        [DataMember]
        public bool Desc { get; set; }
    }
}
